package com.xm.clj.underserver.utils;

import sun.nio.cs.ext.GBK;

import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.ResourceBundle;

public class ConfigUtil {


    public static String get(String key) {
        ResourceBundle resource = ResourceBundle.getBundle("gameLib");
        String res = resource.getString(key);
        return new String(res.getBytes(StandardCharsets.ISO_8859_1),StandardCharsets.UTF_8);
    }

}
